package com.jingdun.sport.files

import com.losttemple.sql.language.operator.DbSource
import com.losttemple.sql.language.operator.TableConfigure
import com.losttemple.sql.language.types.SetRef

class Files(set: (TableConfigure.()->Unit)-> SetRef) :
        DbSource(set { tableName("files") }) {
    var id = intColumn("id")
    var path = stringColumn("path")
    var type = stringColumn("type")
    var size = intColumn("size")
    var uploadTime = dateColumn("upload_time")
}